Incremental Type Inference for Software Engineering
نویسنده
چکیده
Software engineering focused type inference can enhance programmer productivity in statically typed objectoriented languages. Type inference is a system of automatically inferring the argument and return types of a function. It provides considerable programming convenience, because the programmer can realize the benefits of a statically typed language without manually entering the type annotations. We study the problem of type inference in object-oriented languages and propose an incremental, programmer-aided approach. Code is added one method at a time and missing types are inferred if possible. We present a specification and algorithm for inferring simple object-oriented types in this kind of incremental development environment.
منابع مشابه
Gödel : an Interactive Incremental Logic Programming Environment
SUMMARY This paper describes Gödel, an interactive incremental logic programming environment. Gödel supports programming in "standard" Prolog. However, Gödel uses its environment to superimpose a module structure and an inheritance typing system which can be used to support modern software engineering strategies. In addition, Gödel presents the user with a uniform user interface for browsing, e...
متن کاملFinite element simulation of two-point incremental forming of free-form parts
Two-point incremental forming method is considered a modern technique for manufacturing shell parts. The presence of bottom punch during the process makes this technique far more complex than its conventional counterpart i.e. single-point incremental forming method. Thus, the numerical simulation of this method is an essential task, which leads to the reduction of trial/error costs, predicts th...
متن کاملInterface-Oriented Programming
The predominant design of object-oriented programming languages today provides insufficient support for interface abstraction and implementation inheritance, a limitation that forces software components to be unnecessarily biased towards particular implementations of other components. This scatters implementation bias across a system and impairs its ability to evolve. In this paper we trace the...
متن کاملAssessment of an RC existing hospital building with special moment frame using fragility curve
In this study, an existing hospital structure has been evaluated with incremental dynamic analysis (IDA). This building is accommodated in Karaj with soil type II. At first, two 2-D frames along X, Y direction are selected. Then, five performance levels are determined according to “Rehabilitation Code for Existing Buildings (Publication No. 360) including Immediate Operational (IO), Limited Dam...
متن کاملGenInc: An Incremental Context-Free Grammar Learning Algorithm for Domain-Specific Language Development
While grammar inference (or grammar induction) has found extensive application in the areas of robotics, computational biology, speech and pattern recognition, its application to problems in programming language and software engineering domains has been limited. We have found a new application area for grammar inference which intends to make domainspecific language development easier for domain...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2002